#pragma once
#include "animation.h"
#include "graphics/GrVector.h"
#include "SgRotateAroundPoint.h"


class CAnimationRotate :
	public CAnimation
{
public:
	CAnimationRotate(void);
	~CAnimationRotate(void);

	void SetRate(CGrVector rate){m_rate = CGrVector(rate.X(), rate.Y(), rate.Z());}
	void SetNode(CSgRotateAroundPoint *node){m_node = node;}

	virtual void Update(void);
protected:
	CGrVector m_rate;
	CSgRotateAroundPoint *m_node;
};
